package com.kmzx.one.project.others.dto;

import java.util.List;

/**
 * @Project one
 * @Author: carol
 * @Date: 2020/5/28-14:59
 */
public class UserFansPageInfo {


    private int pageNum;
    private int pageSize;
    private int startRow;
    private int endRow;
    private long total;
    private int pages;

    private List<FansInfo> children;

    public UserFansPageInfo() {
    }

    public UserFansPageInfo(int pageNum, int pageSize, long total, int pages) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.total = total;
        this.pages = pages;
    }

    public UserFansPageInfo(int pageNum, int pageSize, int startRow, int endRow, long total, int pages) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.startRow = startRow;
        this.endRow = endRow;
        this.total = total;
        this.pages = pages;
    }

    public int getPageNum() {
        return pageNum;
    }

    public UserFansPageInfo setPageNum(int pageNum) {
        this.pageNum = pageNum;
        return this;
    }

    public int getPageSize() {
        return pageSize;
    }

    public UserFansPageInfo setPageSize(int pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    public int getStartRow() {
        return startRow;
    }

    public UserFansPageInfo setStartRow(int startRow) {
        this.startRow = startRow;
        return this;
    }

    public int getEndRow() {
        return endRow;
    }

    public UserFansPageInfo setEndRow(int endRow) {
        this.endRow = endRow;
        return this;
    }

    public long getTotal() {
        return total;
    }

    public UserFansPageInfo setTotal(long total) {
        this.total = total;
        return this;
    }

    public int getPages() {
        return pages;
    }

    public UserFansPageInfo setPages(int pages) {
        this.pages = pages;
        return this;
    }

    public List<FansInfo> getChildren() {
        return children;
    }

    public UserFansPageInfo setChildren(List<FansInfo> children) {
        this.children = children;
        return this;
    }
}
